package club.easin.sq.dao;

import club.easin.sq.dto.InmateDatile;
import club.easin.sq.dto.InmateQueryDto;
import club.easin.sq.dto.SqInmate;
import com.github.pagehelper.Page;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

@Repository("SqInmateMapper")
@org.apache.ibatis.annotations.Mapper
public interface SqInmateMapper extends Mapper<SqInmate> {

    public Page<InmateDatile> getInmateGrildList(InmateQueryDto queryDto);

    public List<SqInmate> getSqInamteByidcode(String idcode);
}